///////////////////////////////////////////////////////////
//  Team.cs
//  Implementation of the Class Team
//  Created on:      15-Nov-2009 12:32:40
//  Original author: n.gavrikov
///////////////////////////////////////////////////////////

using System;
using System.Runtime.Serialization;
using System.Collections.Generic;

namespace TeamTasker.Contracts
{
    [DataContract]
    public class Team : BaseEntity
    {
        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public IList<TeamMember> Members { get; private set; }

        public Team()
        {
            Members = new List<TeamMember>();
        }
    }
}

